<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><%= app_localized_message(:label, :system_name) %>&nbsp;-&nbsp;<%= app_localized_message(:label, :login) %></title>

  <script language="javascript">
  <!--
  function doFocus() {
  	document.loginform.user_login_id.focus();
  }
  //-->
  </script>
<%= stylesheet_link_tag 'app/login' %>
</head>
<body onload="doFocus();">
<p style="color: green"><%= flash[:notice] %></p>
<%= form_tag( {:action=>:login}, {:name=>"loginform"} ) %>
<div id="login_bg">
	<div id="login_contents">
		<div id="login_main">
			ログインID： <input class="login_input_size" id="user_login_id" name="user_login_id" size="30" type="text" /><br />
			パスワード： <input class="login_input_size" id="user_password" name="user_password" size="30" type="password" />
			<%= image_submit_tag("btn/btn_login.gif", :name=>"login", :alt=>"ログインします") %>
            <div style="text-align:left;padding-left:10px;padding-top:5px;font-size:12px;font-weight:normal;color:#ffffff;">
	          <%= link_to( image_tag("icon_signup_prefix.gif",{:border => 0, :align=>"absmiddle"}) + "&nbsp;" + app_localized_message(:label, :to_signup), :action=>:signup ) %>
	        </div>
		</div>
		<div id="login_footer">Copyright(c)2007 <a href="http://www.i3-systems.com/" target="_blank">i3 systems,inc.</a> All rights reserved.</div>
        <% if @message %>
          <div id="login_message"><%= @message %></div>
        <% end %>
	</div>
</div>
</form>

</body>
</html>